package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.domain.dto.UserDTO;
import com.example.domain.po.User;

import java.util.List;
import java.util.Map;

public interface UserService extends IService<User> {
    Map<String, Object> login(UserDTO userDTO);

    List<UserDTO> getOnlineUsers();

    void register(UserDTO userDTO);
}
